/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import model.Reserva;
import model.Usuario;
import model.Voo;
import java.util.List;
/**
 *
 * @author Carlos, Edward, Diego, Honório
 */
public interface ReservaDAO {

    /*
     * Aqui serão definidas todas as interfaces para a tabela reserva, os metodos implementados estão
     * na classe ReservaDAOImpl
     */
    
    Reserva buscarReserva(Reserva reserva) throws AirLineDAOException;
    void excluirReserva(Reserva reserva) throws AirLineDAOException;
    void salvarReserva(Reserva reserva) throws AirLineDAOException;
    List todasReservas() throws AirLineDAOException;
    List reservaUser(Usuario usuario) throws AirLineDAOException;
    void atualizarReserva(Reserva reserva) throws AirLineDAOException;
    List dadosReserva(Reserva reserva, Voo voo, Usuario usuario) throws AirLineDAOException;
   
}
